home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / Queries / PGetPreferences.cpp < prev    next >
C/C++ Source or Header  |  1996-08-15  |  936b  |  40 lines

  1. /*
  2.  *--- PGetPreferences.cpp -------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PGetPreferences.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PGetPreferences.h"
  12. #include "PQuery.h"
  13. #include "PReplyBuf.h"
  14.  
  15. PGetPreferences::PGetPreferences()
  16. {
  17.     char temp[100];    // plenty big
  18.     
  19.     PQuery query(pm_getpreferences, temp, 100);
  20.     PReplyBuf reply(temp);
  21.     
  22.     reply    >>    nGreekBelow
  23.             >>    cGuides
  24.             >>    cGraphics
  25.             >>    bLoose
  26.             >>    bKeeps
  27.             >>    cSaveOption
  28.             >>    bQuotes
  29.             >>    bNumSnapTo
  30.             >>    bAutoflow
  31.             >>    bDisplayName
  32.             >>    nKBitmap
  33.             >>    nKLimit
  34.             >>    xHorizNudge
  35.             >>    yVerticalNudge
  36.             >>    cPSMemory;
  37. }
  38.  
  39. // end of PGetPreferences.cpp
  40.